import Vue from 'vue'
import App from './App.vue'
import './styles/base.css'
import './styles/index.css'
import store from './store'

Vue.config.productionTip = false

// 注册一个全局自定义指令 `v-focus`
Vue.directive('focus', {
  update: function (el) {
    // 聚焦元素
    el.focus()
  }
})

new Vue({
  store,
  render: h => h(App),
}).$mount('#app')
